<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Fling
  Date: 2020/3/11
  Time: 9:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>经销商管理</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/dealer.js"></script>
</head>
<body>
经销商页面
<input type="hidden" value="${pageContext.request.contextPath}" id="basePath">
<input type="hidden" value="${user.roleId<=3}" id="juese">

<div style="width: 1200px;margin: 50px auto" id="dealerDiv">
<c:if test="${user.roleId<=3}">
    <a href="${pageContext.request.contextPath}/jsp/dealer/addDealer.jsp">增加经销商</a><br/>
</c:if>
        请需要查询的经销商名称：<input type="text" name="dealerName" id="dealerName"/>
        请需要查询的经销商编码：<input type="text" name="dealerCode" id="dealerCode"/>
        <a href="javascripy:;"><input type="button" value="提交" id="tijiao" name="tijiao" class="tijiao"/></a>
        <table width="100%" border="all" id="tb">
            <tr style="background-color: #999">
                <th>经销商名称</th>
                <th>经销商编码</th>
                <th>操作</th>
            </tr>
        </table>
</div>
<div style="width: 40%; margin: 0 auto" id="page">

</div>
</body>
</html>
